import axios from './axios'

// 查询客户货号库存>0的数据
export function getSearch(data){
  return axios({
    method: 'post',
    url:'/input-out-save-repertory-one/getRepertoryOneByCustomerNoAndKindsNumber',
    data
  })
}

// 盘销或盘退 
export function sellOrOut(data){
  return axios({
    method: 'post',
    url:'/input-out-save-repertory-one/sellOrOut',
    data
  })
}

// 客户未出款查询
export function getCustomerOrderNotFactoryOrder(data){
  return axios({
    method: 'post',
    url:'/customerInputTotal/getCustomerOrderNotFactoryOrder',
    data
  })
}

// 销售未补查询 
export function getSellNotMadeUp(params){
  return axios({
    url:'/sellTotal/getSellNotMadeUp',
    params
  })
}

// 查询客销统计记录
export function getCustomerSellStatistics(params){
  return axios({
    url:'/customerSellStatistics/getCustomerSellStatistics',
    params
  })
}